package com.inossem.warehousestorage_inossem.bean.inStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/20.
 */

public class InStorageOtherMaterielOverviewBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"materielList":[{"materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述1111","batchId":"abcdefg","inStorageNumber":"","unit":"千克","batch":[{"id":"1","name":"名称1","required":"1","type":"0","hint":"请输入","value":"","text":"北京三里屯","select":[]},{"id":"2","name":"名称2","required":"0","type":"1","hint":"请输入","value":"","text":"沈阳太原街","select":[]},{"id":"3","name":"名称3","required":"1","type":"2","hint":"请输入","value":"01","text":"沈阳","select":[{"value":"01","text":"沈阳"},{"value":"02","text":"上海"},{"value":"03","text":"深圳"}]}]},{"materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述1111","batchId":"abcdefg","inStorageNumber":"","unit":"套","batch":[]}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        private List<MaterielListBean> materielList;

        public List<MaterielListBean> getMaterielList() {
            return materielList;
        }

        public void setMaterielList(List<MaterielListBean> materielList) {
            this.materielList = materielList;
        }

        public static class MaterielListBean {
            /**
             * materielCode : WLBM12345678901111
             * materielDescription : 物料描述物料描述物料描述物料描述物料描述1111
             * batchId : abcdefg
             * inStorageNumber :
             * unit : 千克
             * batch : [{"id":"1","name":"名称1","required":"1","type":"0","hint":"请输入","value":"","text":"北京三里屯","select":[]},{"id":"2","name":"名称2","required":"0","type":"1","hint":"请输入","value":"","text":"沈阳太原街","select":[]},{"id":"3","name":"名称3","required":"1","type":"2","hint":"请输入","value":"01","text":"沈阳","select":[{"value":"01","text":"沈阳"},{"value":"02","text":"上海"},{"value":"03","text":"深圳"}]}]
             */

            private String materielCode;
            private String materielDescription;
            private String batchId;
            private String inStorageNumber;
            private String unit;
            private String unitCode;
            private List<BatchBean> batch;

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getBatchId() {
                return batchId;
            }

            public void setBatchId(String batchId) {
                this.batchId = batchId;
            }

            public String getInStorageNumber() {
                return inStorageNumber;
            }

            public void setInStorageNumber(String inStorageNumber) {
                this.inStorageNumber = inStorageNumber;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getUnitCode() {
                return unitCode;
            }

            public void setUnitCode(String unitCode) {
                this.unitCode = unitCode;
            }

            public List<BatchBean> getBatch() {
                return batch;
            }

            public void setBatch(List<BatchBean> batch) {
                this.batch = batch;
            }

            public static class BatchBean {
                /**
                 * id : 1
                 * name : 名称1
                 * required : 1
                 * type : 0
                 * hint : 请输入
                 * value :
                 * text : 北京三里屯
                 * select : []
                 */

                private String id;
                private String name;
                private String required;
                private String type;
                private String hint;
                private String value;
                private String text;
                private List<SelectBean> select;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getRequired() {
                    return required;
                }

                public void setRequired(String required) {
                    this.required = required;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getHint() {
                    return hint;
                }

                public void setHint(String hint) {
                    this.hint = hint;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }

                public List<SelectBean> getSelect() {
                    return select;
                }

                public void setSelect(List<SelectBean> select) {
                    this.select = select;
                }

                public static class SelectBean {
                    private String value;
                    private String text;

                    public String getValue() {
                        return value;
                    }

                    public void setValue(String value) {
                        this.value = value;
                    }

                    public String getText() {
                        return text;
                    }

                    public void setText(String text) {
                        this.text = text;
                    }
                }
            }
        }
    }
}
